package com.ruoyi.business.mapper;

import java.util.List;
import com.ruoyi.business.domain.TSmjOrderInfo;

/**
 * 售卖机订单信息Mapper接口
 * 
 * @author ruoyi
 * @date 2024-11-02
 */
public interface TSmjOrderInfoMapper 
{
    /**
     * 查询售卖机订单信息
     * 
     * @param id 售卖机订单信息主键
     * @return 售卖机订单信息
     */
    public TSmjOrderInfo selectTSmjOrderInfoById(Long id);

    /**
     * 查询售卖机订单信息列表
     * 
     * @param tSmjOrderInfo 售卖机订单信息
     * @return 售卖机订单信息集合
     */
    public List<TSmjOrderInfo> selectTSmjOrderInfoList(TSmjOrderInfo tSmjOrderInfo);

    /**
     * 新增售卖机订单信息
     * 
     * @param tSmjOrderInfo 售卖机订单信息
     * @return 结果
     */
    public int insertTSmjOrderInfo(TSmjOrderInfo tSmjOrderInfo);

    /**
     * 修改售卖机订单信息
     * 
     * @param tSmjOrderInfo 售卖机订单信息
     * @return 结果
     */
    public int updateTSmjOrderInfo(TSmjOrderInfo tSmjOrderInfo);

    /**
     * 删除售卖机订单信息
     * 
     * @param id 售卖机订单信息主键
     * @return 结果
     */
    public int deleteTSmjOrderInfoById(Long id);

    /**
     * 批量删除售卖机订单信息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTSmjOrderInfoByIds(String[] ids);

    public List<TSmjOrderInfo> selectTSmjOrderInfoListByNoAuth(TSmjOrderInfo tSmjOrderInfo);

    public int deleteTSmjOrderInfo(TSmjOrderInfo tSmjOrderInfo);
}
